<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>角色管理</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
  <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="sysRoleController.do?doAdd" tiptype="6">
					<input id="id" name="id" type="hidden" value="${sysRolePage.id }"/>
		<table style="width: 99%;" cellpadding="0" cellspacing="1" class="formtable">

				<tr>
					<td align="right">
						<label class="Validform_label">
							角色名称:
						</label>
					</td>
					<td class="value">
					     	 <input id="rolename" name="rolename" type="text" maxlength="50" style="width: 150px"  validType="sys_role,rolename,id" datatype="*" ignore="checked" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">角色名称</label>
						</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							机构名称:
						</label>
					</td>
					<td class="value">
							  <t:dictSelect field="orgid" type="list"  datatype="n"  dictTable="SYS_ORGNIZATION" dictField="ORGID" dictText="ORGNAME"  defaultVal="${sysRolePage.orgid}" hasLabel="false"  title="机构名称" ></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">机构名称</label>
						</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							角色类别:
						</label>
					</td>
					<td class="value">
							  <t:dictSelect field="roletype" type="list"  typeGroupCode="ROLETYPE"  defaultVal="${sysRolePage.roletype}" hasLabel="false"  title="角色类别" ></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">角色类别</label>
						</td>
				</tr>
				
				
			</table>
		</t:formvalid>
 </body>
